package com.lebang.entity.sys;

import java.util.Date;

public class AppNotice {
    private Integer id;

    private String createBy;

    private Integer hasDeleted;

    private Date createTime;

    private Date modifyTime;

    private String name;

    private String msg;

    private Integer parentId;

    private Integer sort;

    private String url;

    public AppNotice(Integer id, String createBy, Integer hasDeleted, Date createTime, Date modifyTime, String name, String msg, Integer parentId, Integer sort, String url) {
        this.id = id;
        this.createBy = createBy;
        this.hasDeleted = hasDeleted;
        this.createTime = createTime;
        this.modifyTime = modifyTime;
        this.name = name;
        this.msg = msg;
        this.parentId = parentId;
        this.sort = sort;
        this.url = url;
    }

    public AppNotice() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Integer getHasDeleted() {
        return hasDeleted;
    }

    public void setHasDeleted(Integer hasDeleted) {
        this.hasDeleted = hasDeleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg == null ? null : msg.trim();
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }
}